<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>修改信息</title>
<meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <link href="__APP__/Public/log/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  <link href="__APP__/Public/log/css/bootstrap.min.css" rel="stylesheet" type="text/css">
  <link href="__APP__/Public/log/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
  <link href="__APP__/Public/log/css/templatemo_style.css" rel="stylesheet" type="text/css"> 

<link href="__APP__/Public/mb1/css/bootstrap.css" rel="stylesheet">
<link href="__APP__/Public/mb1/css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Furnished Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>

<script src="__APP__/Public/mb1/js/jquery.min.js"> </script>
           <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  <!-- js -->
     <script src="__APP__/Public/mb1/js/bootstrap.js"></script>
  <!-- js -->
    <script type="text/javascript" src="__APP__/Public/mb1/js/move-top.js"></script>
<script type="text/javascript" src="__APP__/Public/mb1/js/easing.js"></script>

<script type="text/javascript">
      jQuery(document).ready(function($) {
        $(".scroll").click(function(event){   
          event.preventDefault();
          $('html,body').animate({scrollTop:$(this.hash).offset().top},900);
        });
      });
</script>




</head>
<div class="header">
<div class="header-top">
    <div class="container">
        
      <form class="navbar-form navbar-right wow fadeInRight animated" data-wow-delay=".5s" style="visibility: visible; -webkit-animation-delay: .5s;">
        <div class="form-group">
          
          
        </div>
        
      </form> 
    </div>  
    </div>
    <div class="clearfix"> </div>
  </div>



<div class="header-nav">
  <div class="container">
    <div class="logo">
      <a href="{:U('Index/index')}"><img src="__APP__/Public/mb1/images/logo.png" /></a>
    </div>
    <div class="navigation">
      <nav class="navbar navbar-default">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"> </span>
            <span class="icon-bar"> </span>
            <span class="icon-bar"> </span>
            </button>
          </div>
          <div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
            <li class="active"><a href="{:U('Index/index')}">首页 <span class="sr-only">(current)</span></a></li>
           
						<li><a href="{:U('Meishis/meishis')}">发表美食</a></li>
            <li><a href="{:U('Meishis/fenxiang')}">用户分享</a></li>
            <li><a href="{:U('Users/userInfo')}">个人信息</a></li>
						<li><a href="{:U('Users/login')}">登录</a></li>
						<li><a href="{:U('Users/reg')}">注册</a></li>

            </ul>
        <div class="clearfix"> </div>
      </div><!-- /.navbar-collapse -->
    </nav>
  </div>
  </div>
  </div>
  <div class="clearfix"> </div>
</div>
<body>
	  <div class="modal-shiftfix">
      <!-- Navigation -->
      <div class="navbar navbar-fixed-top scroll-hide">
     
       
      </div>

        <div class="col-md-3  col-xs-12 col-sm-6 col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
            <form  method="post"  class="form-horizontal" action="{:U(doUpdate)}"  enctype="multipart/form-data" onsubmit="return check();" >
            <table id="users" class="table table-responsive">
            <tr>
            <input  type="hidden"  name="id" value="{$list.id}">
            </tr>
            <tr>
            <td style="overflow: hidden;display: block;width: 90px">用户名：</td>
            <td><input class="form-control" type="text"  name="aliasname" value="{$list.aliasname}"></td>
            </tr>
            <tr>
            <td style="overflow: hidden;display: block;width: 90px">电话：</td>
            <td><input class="form-control"  name="telephone"  type="text" value="{$list.telephone}"></td>
            </tr>
            <tr>
            <td style="overflow: hidden;display: block;width: 90px">邮箱：</td>
            <td><input class="form-control"  name="email" type="email" value="{$list.email}"></td>
            </tr>

            </table>  
                <div class="fileupload fileupload-new" data-provides="fileupload">
                   <input type="hidden" value="{$list.photo}" name="pic" >
                          <div class="fileupload-new img-thumbnail"
                               style="width: 110px; height: 110px;background-color:#5f5f5f">
                              <img src="__PUBLIC__/Uploads/photo/{$list.photo}" width="90">
                          </div>
                          <div class="fileupload-preview fileupload-exists img-thumbnail"
                               style="width: 110px; max-height: 110px;"></div>
                          
                      
                    <span class="btn btn-default btn-file">
                        <span class="fileupload-new">选择</span>
                        <span class="fileupload-exists">重选</span>
                        <input type="file" name="file" value="{$list.photo}">
                      </span>
                      <span>

                     
                        </span>
                      </div> 
             <tr><td><button class="btn btn-danger" style="width: 120%; margin-top: 20px; text-align:center" type="submit">提交</button></td></tr>
            </form>
             </div>
          </div>
           
          
     
      </div>
</body>
</html>